package com.paw.portal.request.dto;

import java.util.List;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author Rubble
 * @date 2021/8/28
 **/
@Data
@ApiModel(description = "设置用户角色")
public class UserSetRoleRequestDto {

  @NotNull
  @ApiModelProperty(value = "用户id",required = true)
  private Long userId;

  @NotEmpty
  @ApiModelProperty(value = "角色Id",required = true)
  private List<Long> roleIds;

}
